<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: QMapThreadSafety&lt; Key, T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_q_map_thread_safety-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QMapThreadSafety&lt; Key, T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_q_map_thread_safety.html" title="The QMapThreadSafety class is a thread safe QMap. ">QMapThreadSafety</a> class is a thread safe QMap.  
 <a href="class_q_map_thread_safety.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qmapthreadsafety_8h_source.html">qmapthreadsafety.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a454c8af3f68e6d61aecaf1b918aa525b"><td class="memItemLeft" align="right" valign="top"><a id="a454c8af3f68e6d61aecaf1b918aa525b"></a>
typedef QMap&lt; Key, T &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr class="separator:a454c8af3f68e6d61aecaf1b918aa525b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa58d8479729f72b33e305a4d0ca957bd"><td class="memItemLeft" align="right" valign="top"><a id="aa58d8479729f72b33e305a4d0ca957bd"></a>
typedef QMap&lt; Key, T &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
<tr class="separator:aa58d8479729f72b33e305a4d0ca957bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8b1bc71d8c92c4d01b6b3baae9787bb4"><td class="memItemLeft" align="right" valign="top"><a id="a8b1bc71d8c92c4d01b6b3baae9787bb4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QMapThreadSafety</b> (std::initializer_list&lt; std::pair&lt; Key, T &gt;&gt; &amp;list)</td></tr>
<tr class="separator:a8b1bc71d8c92c4d01b6b3baae9787bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a368c8f4f05a48864209ab6ff5cf2f090"><td class="memItemLeft" align="right" valign="top"><a id="a368c8f4f05a48864209ab6ff5cf2f090"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QMapThreadSafety</b> (const QMap&lt; Key, T &gt; &amp;other)</td></tr>
<tr class="separator:a368c8f4f05a48864209ab6ff5cf2f090"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1335c04a2df7eda320f7a778854531fc"><td class="memItemLeft" align="right" valign="top"><a id="a1335c04a2df7eda320f7a778854531fc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QMapThreadSafety</b> (const std::map&lt; Key, T &gt; &amp;other)</td></tr>
<tr class="separator:a1335c04a2df7eda320f7a778854531fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aacfb2a81fb927546a222cbfd78000d"><td class="memItemLeft" align="right" valign="top"><a id="a9aacfb2a81fb927546a222cbfd78000d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QMapThreadSafety</b> (QMap&lt; Key, T &gt; &amp;&amp;other)</td></tr>
<tr class="separator:a9aacfb2a81fb927546a222cbfd78000d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac197a5375913e4ac19910b9bc4191a95"><td class="memItemLeft" align="right" valign="top">iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#ac197a5375913e4ac19910b9bc4191a95">begin</a> () const</td></tr>
<tr class="memdesc:ac197a5375913e4ac19910b9bc4191a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method retuns the begin iterator.  <a href="#ac197a5375913e4ac19910b9bc4191a95">More...</a><br /></td></tr>
<tr class="separator:ac197a5375913e4ac19910b9bc4191a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeddc5f7a55aebb3e93d78cf30a3dd2e1"><td class="memItemLeft" align="right" valign="top"><a id="aeddc5f7a55aebb3e93d78cf30a3dd2e1"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cbegin</b> () const</td></tr>
<tr class="separator:aeddc5f7a55aebb3e93d78cf30a3dd2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a199144509173057ede04d61f7294b266"><td class="memItemLeft" align="right" valign="top"><a id="a199144509173057ede04d61f7294b266"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cend</b> () const</td></tr>
<tr class="separator:a199144509173057ede04d61f7294b266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a300f55a4c8e8ed3b5ccc2824dc18e60c"><td class="memItemLeft" align="right" valign="top"><a id="a300f55a4c8e8ed3b5ccc2824dc18e60c"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>constBegin</b> () const</td></tr>
<tr class="separator:a300f55a4c8e8ed3b5ccc2824dc18e60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa98a2af8cafc423c6bc6a04fec106b39"><td class="memItemLeft" align="right" valign="top"><a id="aa98a2af8cafc423c6bc6a04fec106b39"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>constEnd</b> () const</td></tr>
<tr class="separator:aa98a2af8cafc423c6bc6a04fec106b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac364cabf8837a0b174016656b6bda81b"><td class="memItemLeft" align="right" valign="top"><a id="ac364cabf8837a0b174016656b6bda81b"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>constFind</b> (const Key &amp;key) const</td></tr>
<tr class="separator:ac364cabf8837a0b174016656b6bda81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaafd9933cb391e27a81c26df712786b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#acaafd9933cb391e27a81c26df712786b">contains</a> (const Key &amp;key) const</td></tr>
<tr class="memdesc:acaafd9933cb391e27a81c26df712786b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method checks if the map contains and specific element given a specific key.  <a href="#acaafd9933cb391e27a81c26df712786b">More...</a><br /></td></tr>
<tr class="separator:acaafd9933cb391e27a81c26df712786b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4542fc3dc112550bf8b0833338bfcaaf"><td class="memItemLeft" align="right" valign="top"><a id="a4542fc3dc112550bf8b0833338bfcaaf"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>count</b> (const Key &amp;key) const</td></tr>
<tr class="separator:a4542fc3dc112550bf8b0833338bfcaaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8adacf9b06525045bd79c909cea90f0a"><td class="memItemLeft" align="right" valign="top"><a id="a8adacf9b06525045bd79c909cea90f0a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>count</b> () const</td></tr>
<tr class="separator:a8adacf9b06525045bd79c909cea90f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5becb3980d1b35a27edde74f78ed43e2"><td class="memItemLeft" align="right" valign="top"><a id="a5becb3980d1b35a27edde74f78ed43e2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const</td></tr>
<tr class="separator:a5becb3980d1b35a27edde74f78ed43e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a700a04a692176f00e119500dd1b23"><td class="memItemLeft" align="right" valign="top">iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#a64a700a04a692176f00e119500dd1b23">end</a> ()</td></tr>
<tr class="memdesc:a64a700a04a692176f00e119500dd1b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method retuns the end iterator.  <a href="#a64a700a04a692176f00e119500dd1b23">More...</a><br /></td></tr>
<tr class="separator:a64a700a04a692176f00e119500dd1b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea999f181f31f0ac6bd01bcc016a673c"><td class="memItemLeft" align="right" valign="top"><a id="aea999f181f31f0ac6bd01bcc016a673c"></a>
QPair&lt; iterator, iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>equal_range</b> (const Key &amp;key)</td></tr>
<tr class="separator:aea999f181f31f0ac6bd01bcc016a673c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c11617434ce781961ee8f722208d0e"><td class="memItemLeft" align="right" valign="top"><a id="a11c11617434ce781961ee8f722208d0e"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>erase</b> (iterator pos)</td></tr>
<tr class="separator:a11c11617434ce781961ee8f722208d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e4df3d688c99d259c6245a6f612c096"><td class="memItemLeft" align="right" valign="top"><a id="a3e4df3d688c99d259c6245a6f612c096"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (const Key &amp;key)</td></tr>
<tr class="separator:a3e4df3d688c99d259c6245a6f612c096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2564aae6f1946dfc48ae0576f4de0434"><td class="memItemLeft" align="right" valign="top"><a id="a2564aae6f1946dfc48ae0576f4de0434"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (const Key &amp;key) const</td></tr>
<tr class="separator:a2564aae6f1946dfc48ae0576f4de0434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3709dc412a794c75c4f678409324006f"><td class="memItemLeft" align="right" valign="top"><a id="a3709dc412a794c75c4f678409324006f"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>first</b> ()</td></tr>
<tr class="separator:a3709dc412a794c75c4f678409324006f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2f2f58bb6a3dbd370134a96d3310222"><td class="memItemLeft" align="right" valign="top"><a id="ac2f2f58bb6a3dbd370134a96d3310222"></a>
const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>first</b> () const</td></tr>
<tr class="separator:ac2f2f58bb6a3dbd370134a96d3310222"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1f69d7b72decd18f00f97d70e3daf88"><td class="memItemLeft" align="right" valign="top"><a id="ae1f69d7b72decd18f00f97d70e3daf88"></a>
const Key &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>firstKey</b> () const</td></tr>
<tr class="separator:ae1f69d7b72decd18f00f97d70e3daf88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a156afe871591b26ce155da6ce6409ad6"><td class="memItemLeft" align="right" valign="top">iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#a156afe871591b26ce155da6ce6409ad6">insert</a> (const Key &amp;key, const T &amp;value)</td></tr>
<tr class="memdesc:a156afe871591b26ce155da6ce6409ad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method inserts a new key and value in the map.  <a href="#a156afe871591b26ce155da6ce6409ad6">More...</a><br /></td></tr>
<tr class="separator:a156afe871591b26ce155da6ce6409ad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479e559360d2ba5471304b3dc9deb9dd"><td class="memItemLeft" align="right" valign="top"><a id="a479e559360d2ba5471304b3dc9deb9dd"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>insert</b> (const_iterator pos, const Key &amp;key, const T &amp;value)</td></tr>
<tr class="separator:a479e559360d2ba5471304b3dc9deb9dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb0bc3f6ee968de8b71a141bcc517d4c"><td class="memItemLeft" align="right" valign="top"><a id="adb0bc3f6ee968de8b71a141bcc517d4c"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>insertMulti</b> (const Key &amp;key, const T &amp;value)</td></tr>
<tr class="separator:adb0bc3f6ee968de8b71a141bcc517d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dc915bd74285298d93eb17440587931"><td class="memItemLeft" align="right" valign="top"><a id="a2dc915bd74285298d93eb17440587931"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isEmpty</b> () const</td></tr>
<tr class="separator:a2dc915bd74285298d93eb17440587931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d0d694a419e2d0958b16f7089ab444"><td class="memItemLeft" align="right" valign="top"><a id="a51d0d694a419e2d0958b16f7089ab444"></a>
QList&lt; Key &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>keys</b> () const</td></tr>
<tr class="separator:a51d0d694a419e2d0958b16f7089ab444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721c6cae55a5c046a2fca6efc8fa49c3"><td class="memItemLeft" align="right" valign="top"><a id="a721c6cae55a5c046a2fca6efc8fa49c3"></a>
QList&lt; Key &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>keys</b> (const T &amp;value) const</td></tr>
<tr class="separator:a721c6cae55a5c046a2fca6efc8fa49c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87a87d963bc7624cc6330060d5a65f85"><td class="memItemLeft" align="right" valign="top"><a id="a87a87d963bc7624cc6330060d5a65f85"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>last</b> ()</td></tr>
<tr class="separator:a87a87d963bc7624cc6330060d5a65f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60bbb036a7cb0b05254a0171ad81e2db"><td class="memItemLeft" align="right" valign="top"><a id="a60bbb036a7cb0b05254a0171ad81e2db"></a>
const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>last</b> () const</td></tr>
<tr class="separator:a60bbb036a7cb0b05254a0171ad81e2db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0589ec5e16479a92c0c50f86b32c1307"><td class="memItemLeft" align="right" valign="top"><a id="a0589ec5e16479a92c0c50f86b32c1307"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>lowerBound</b> (const Key &amp;key)</td></tr>
<tr class="separator:a0589ec5e16479a92c0c50f86b32c1307"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21e8f53194d173f6cedb8d60a86a4a19"><td class="memItemLeft" align="right" valign="top"><a id="a21e8f53194d173f6cedb8d60a86a4a19"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>lowerBound</b> (const Key &amp;key) const</td></tr>
<tr class="separator:a21e8f53194d173f6cedb8d60a86a4a19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91e703ad03572023876108c2b7bc3540"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#a91e703ad03572023876108c2b7bc3540">remove</a> (const Key &amp;key)</td></tr>
<tr class="memdesc:a91e703ad03572023876108c2b7bc3540"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method removes a specific element given a specific key.  <a href="#a91e703ad03572023876108c2b7bc3540">More...</a><br /></td></tr>
<tr class="separator:a91e703ad03572023876108c2b7bc3540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0331b4ea9616aa81d1ede4066113c35b"><td class="memItemLeft" align="right" valign="top"><a id="a0331b4ea9616aa81d1ede4066113c35b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const</td></tr>
<tr class="separator:a0331b4ea9616aa81d1ede4066113c35b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addcefa9985e7fa96939eca2a8e2b1fcc"><td class="memItemLeft" align="right" valign="top"><a id="addcefa9985e7fa96939eca2a8e2b1fcc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>swap</b> (QMap&lt; Key, T &gt; &amp;other)</td></tr>
<tr class="separator:addcefa9985e7fa96939eca2a8e2b1fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03f5056559f4d0f2500ddcb8ddf55098"><td class="memItemLeft" align="right" valign="top"><a id="a03f5056559f4d0f2500ddcb8ddf55098"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>take</b> (const Key &amp;key)</td></tr>
<tr class="separator:a03f5056559f4d0f2500ddcb8ddf55098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad145bbf62ebe8d796ed1a8216bfbe69d"><td class="memItemLeft" align="right" valign="top"><a id="ad145bbf62ebe8d796ed1a8216bfbe69d"></a>
std::map&lt; Key, T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>toStdMap</b> () const</td></tr>
<tr class="separator:ad145bbf62ebe8d796ed1a8216bfbe69d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3498ec21684e0c221ce2eddb437ecd"><td class="memItemLeft" align="right" valign="top"><a id="a8d3498ec21684e0c221ce2eddb437ecd"></a>
QList&lt; Key &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>uniqueKeys</b> () const</td></tr>
<tr class="separator:a8d3498ec21684e0c221ce2eddb437ecd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a784205cd91eaed840f8d2554a07d3c22"><td class="memItemLeft" align="right" valign="top"><a id="a784205cd91eaed840f8d2554a07d3c22"></a>
QMap&lt; Key, T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>unite</b> (const QMap&lt; Key, T &gt; &amp;other)</td></tr>
<tr class="separator:a784205cd91eaed840f8d2554a07d3c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa43810522d484b2364777e0701486109"><td class="memItemLeft" align="right" valign="top"><a id="aa43810522d484b2364777e0701486109"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>upperBound</b> (const Key &amp;key)</td></tr>
<tr class="separator:aa43810522d484b2364777e0701486109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c3c21d5d756ff3592a3139a9710995"><td class="memItemLeft" align="right" valign="top"><a id="a24c3c21d5d756ff3592a3139a9710995"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>upperBound</b> (const Key &amp;key) const</td></tr>
<tr class="separator:a24c3c21d5d756ff3592a3139a9710995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c5caec402261554fd4d73e36e9ca6bc"><td class="memItemLeft" align="right" valign="top"><a id="a3c5caec402261554fd4d73e36e9ca6bc"></a>
const T&#160;</td><td class="memItemRight" valign="bottom"><b>value</b> (const Key &amp;key, const T &amp;defaultValue=T()) const</td></tr>
<tr class="separator:a3c5caec402261554fd4d73e36e9ca6bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6395316e7fec3faea0dcf150a3dab897"><td class="memItemLeft" align="right" valign="top"><a id="a6395316e7fec3faea0dcf150a3dab897"></a>
QList&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>values</b> () const</td></tr>
<tr class="separator:a6395316e7fec3faea0dcf150a3dab897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffdf1fc9bd98f9bfede07549533da53"><td class="memItemLeft" align="right" valign="top"><a id="afffdf1fc9bd98f9bfede07549533da53"></a>
QList&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>values</b> (const Key &amp;key) const</td></tr>
<tr class="separator:afffdf1fc9bd98f9bfede07549533da53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48d648aa531db7c8ecd7f2efe2153707"><td class="memItemLeft" align="right" valign="top"><a id="a48d648aa531db7c8ecd7f2efe2153707"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const QMap&lt; Key, T &gt; &amp;other) const</td></tr>
<tr class="separator:a48d648aa531db7c8ecd7f2efe2153707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33ed0b71924a4281f4f25bf5eda1cfd"><td class="memItemLeft" align="right" valign="top"><a id="af33ed0b71924a4281f4f25bf5eda1cfd"></a>
QMap&lt; Key, T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const QMap&lt; Key, T &gt; &amp;other)</td></tr>
<tr class="separator:af33ed0b71924a4281f4f25bf5eda1cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0845272b1bc863dd153607e63efa839d"><td class="memItemLeft" align="right" valign="top"><a id="a0845272b1bc863dd153607e63efa839d"></a>
QMap&lt; Key, T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (QMap&lt; Key, T &gt; &amp;&amp;other)</td></tr>
<tr class="separator:a0845272b1bc863dd153607e63efa839d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a343008196414aa4fe66ff2de5ca29986"><td class="memItemLeft" align="right" valign="top"><a id="a343008196414aa4fe66ff2de5ca29986"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const QMap&lt; Key, T &gt; &amp;other) const</td></tr>
<tr class="separator:a343008196414aa4fe66ff2de5ca29986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9c974843e1bbf7f4bff2acc4f88f300"><td class="memItemLeft" align="right" valign="top"><a id="ac9c974843e1bbf7f4bff2acc4f88f300"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const Key &amp;key)</td></tr>
<tr class="separator:ac9c974843e1bbf7f4bff2acc4f88f300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cdacf0e7048c4ef7e0960a371c32668"><td class="memItemLeft" align="right" valign="top">const T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_map_thread_safety.html#a0cdacf0e7048c4ef7e0960a371c32668">operator[]</a> (const Key &amp;key) const</td></tr>
<tr class="memdesc:a0cdacf0e7048c4ef7e0960a371c32668"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is an overload of the operator [] and returns a value given a specific key.  <a href="#a0cdacf0e7048c4ef7e0960a371c32668">More...</a><br /></td></tr>
<tr class="separator:a0cdacf0e7048c4ef7e0960a371c32668"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Key, typename T&gt;<br />
class QMapThreadSafety&lt; Key, T &gt;</h3>

<p>The <a class="el" href="class_q_map_thread_safety.html" title="The QMapThreadSafety class is a thread safe QMap. ">QMapThreadSafety</a> class is a thread safe QMap. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ac197a5375913e4ac19910b9bc4191a95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac197a5375913e4ac19910b9bc4191a95">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">iterator <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method retuns the begin iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="acaafd9933cb391e27a81c26df712786b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acaafd9933cb391e27a81c26df712786b">&#9670;&nbsp;</a></span>contains()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::contains </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method checks if the map contains and specific element given a specific key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>: This represents the key that you want to find. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns true if find the key and false if not find. </dd></dl>

</div>
</div>
<a id="a64a700a04a692176f00e119500dd1b23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64a700a04a692176f00e119500dd1b23">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">iterator <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method retuns the end iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a156afe871591b26ce155da6ce6409ad6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a156afe871591b26ce155da6ce6409ad6">&#9670;&nbsp;</a></span>insert()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">iterator <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method inserts a new key and value in the map. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>: This represents the key that will be insert. </td></tr>
    <tr><td class="paramname">value</td><td>: This represents the value that will be insert. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0cdacf0e7048c4ef7e0960a371c32668"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cdacf0e7048c4ef7e0960a371c32668">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const T <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method is an overload of the operator [] and returns a value given a specific key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>: This represents the key that you want to find. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>T </dd></dl>

</div>
</div>
<a id="a91e703ad03572023876108c2b7bc3540"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91e703ad03572023876108c2b7bc3540">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key, typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_q_map_thread_safety.html">QMapThreadSafety</a>&lt; Key, T &gt;::remove </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method removes a specific element given a specific key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>: This represents the key that will be insert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/<a class="el" href="qmapthreadsafety_8h_source.html">qmapthreadsafety.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:09 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
